package com.yzc.mihuyou.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Version;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yzc
 * @since 2022-05-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Pingive对象", description="")
public class Pingive implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评论id")
    private Integer pinzan;

    @ApiModelProperty(value = " 点赞的用户")
    private Long userId;

    @ApiModelProperty(value = "点赞时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "状态 1已读  0未读")
    private  boolean state;

    @TableField(exist = false,value = "是否点赞")
    private Boolean portsw;
}
